Skip to content

Conversation

@chrisminett
Copy link
Member

Partial fix for #38 . Full solution will be #37 .

As the server wasn't being delayed for a retry, the scenario in #38 of calling useTube() immediately followed by put() allowed the job to be put to a server that should have been marked as failed.

Using tryCommand will mark the server as failed, and the subsequent put() will not choose the server which did not accept the useTube command.

@chrisminett chrisminett self-assigned this Jul 12, 2024
@chrisminett chrisminett added bug patch-version Release CAN be patch version increment labels Jul 12, 2024
@codecov
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.66%. Comparing base (887a53e) to head (8890d09).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #39   +/-   ##
=========================================
  Coverage     98.66%   98.66%           
  Complexity      362      362           
=========================================
  Files            41       41           
  Lines          1124     1125    +1     
=========================================
+ Hits           1109     1110    +1     
  Misses           15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrisminett chrisminett merged commit e1f419c into main Jul 12, 2024
@chrisminett chrisminett deleted the delay-failed-use branch July 12, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug patch-version Release CAN be patch version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants